package com.masterclient.app.modules.cart.beans;

import com.eoner.common.bean.base.CommonBaseBean;
import com.google.gson.annotations.SerializedName;

import java.util.List;

public class GatherBean extends CommonBaseBean {

    @SerializedName("data")
    public DataBean data;

    public class DataBean{
        @SerializedName("page")
        public String page;
        @SerializedName("page_size")
        public String pageSize;
        @SerializedName("total")
        public String total;
        @SerializedName("has_more")
        public boolean hasMore;
        @SerializedName("attributes")
        public List<AttributesBean> attributes;
        @SerializedName("categories")
        public List<CategoriesBean> categories;
        @SerializedName("brands")
        public List<BrandsBean> brands;
        @SerializedName("sellers")
        public List<SellersBean> sellers;
        @SerializedName("products")
        public List<ProductsBean> products;
        @SerializedName("activity_name")
        public String activityName;
        @SerializedName("label_name")
        public String labelName;

        public class AttributesBean{
            @SerializedName("attribute_id")
            public String attributeId;
            @SerializedName("attribute_name")
            public String attributeName;
            @SerializedName("options")
            public List<OptionsBean> options;

            public class OptionsBean{
                @SerializedName("label")
                public String label;
                @SerializedName("value")
                public String value;
            }
        }

        public class CategoriesBean{
            @SerializedName("cid")
            public String cid;
            @SerializedName("name")
            public String name;
        }

        public class BrandsBean{
            @SerializedName("brand_id")
            public String brandId;
            @SerializedName("name")
            public String name;
        }

        public class SellersBean{
            @SerializedName("brand_id")
            public String brandId;
            @SerializedName("logo")
            public String logo;
            @SerializedName("name")
            public String name;
            @SerializedName("subname")
            public String subname;
        }

        public class ProductsBean{
            @SerializedName("product_id")
            public String productId;
            @SerializedName("title")
            public String title;
            @SerializedName("price")
            public String price;
            @SerializedName("commission")
            public String commission;
            @SerializedName("image")
            public String image;
            @SerializedName("has_video")
            public boolean hasVideo;
            @SerializedName("stock")
            public String stock;
            @SerializedName("is_new")
            public boolean isNew;
            @SerializedName("tags")
            public List<TagsBean> tags;
            @SerializedName("sub_title")
            public String subTitle;
            @SerializedName("product_type")
            public String productType;
            @SerializedName("integral_price")
            public String integralPrice;
            @SerializedName("sold_num")
            public String soldNum;
            @SerializedName("line_price")
            public String linePrice;
            @SerializedName("promotion_stock")
            public String promotionStock;
            @SerializedName("shop_icon")
            public String shopIcon;
            @SerializedName("double_commission")
            public String doubleCommission;
            @SerializedName("oversea")
            public OverseaBean oversea;
            @SerializedName("show_price")
            public String showPrice;
            @SerializedName("label")
            public LabelBean label;


            public class TagsBean{
                @SerializedName("type")
                public String type;
                @SerializedName("name")
                public String name;
            }

            public class OverseaBean{
                @SerializedName("tag")
                public String tag;
                @SerializedName("country_name")
                public String countryName;
                @SerializedName("country_logo")
                public String countryLogo;
            }
        }
    }
}
